import { RoutesAlias } from '@/router/routesAlias'
import { AppRouteRecord } from '@/types/router'

const meta = {}

const pre = 'gongYiGuanLi/gongYi-'

export default {
  path: '/gongYiGuanLi/gongYi',
  name: 'gongYiGuanLi',
  redirect: {
    name: `${pre}gongYiCanShuSheZhi`
  },
  meta: { ...meta, title: '工艺管理' },
  component: RoutesAlias.Home,
  children: [
    {
      path: 'gongYiCanShuSheZhi',
      name: '61100',
      meta: {
        ...meta,
        title: '工艺参数设置'
      }
      // component: () => import('@/pages/gongYiGuanLi/gongYi/gongYiCanShuSheZhi')
    },
    {
      path: 'gongYiWeiHu',
      name: '61200',
      meta: {
        ...meta,
        title: '工艺维护'
      }
      // component: () => import('@/pages/gongYiGuanLi/gongYi/gongYiWeiHu')
    },
    {
      path: 'peiBiSheDing',
      name: '61300',
      meta: {
        ...meta,
        title: '物料供应'
      }
      // component: () => import('@/pages/gongYiGuanLi/gongYi/peiBiSheDing')
    }
  ]
} as AppRouteRecord
